package domain

import "vrcm/src/vrcm/common/models"

type CompressConfig struct {
	models.Model

	TenantId      string `json:"tenant_id" gorm:"type:varchar(50);comment:租户"`
	DomainId      int    `json:"domain_id" gorm:"type:bigint;comment:DomainId"`
	CompressState string `json:"compress_state" gorm:"type:varchar(20);comment:压缩状态 on off"`
	CompressType  string `json:"compress_type" gorm:"type:varchar(20);comment:压缩类型 gzip,br逗号分隔"`
	FileType      string `json:"file_type" gorm:"type:varchar(500);comment:文件类型逗号分割"`
	models.ModelTime
	models.ControlBy
}

func (CompressConfig) TableName() string {
	return "compress_config"
}
